//
//  YDModuleRouterURL.m
//  YDBASE
//
//  Created by rowena on 2019/4/22.
//  Copyright © 2019年 wuyezhiguhun. All rights reserved.
//

#import "YDModuleRouterURL.h"

/** Runtime模块路由地址 */
NSString * const YDModuleRouterRuntimeURL               = @"weixin.wuyezhiguhun/module.router/runtime";;
/** Thread模块路由地址 */
NSString * const YDModuleRouterThreadURL                = @"weixin.wuyezhiguhun/module.router/thread";
/** RunLoop模块路由地址 */
NSString * const YDModuleRouterRunLoopURL               = @"weixin.wuyezhiguhun/module.router/runloop";
/** Category的本质 路由地址 */
NSString * const YDModuleRouterCategoryURL              = @"weixin.wuyezhiguhun/module.router/category";
/** 事件传递与事件响应 路由地址 */
NSString * const YDModuleRouterEventsURL                = @"weixin.wuyezhiguhun/module.router/events";
/** Object-C 语言特性 路由地址  */
NSString * const YDModuleRouterOCFeatureURL             = @"weixin.wuyezhiguhun/module.router/oc_feature";
/** 属性解析 路由地址 */
NSString * const YDModuleRouterPropertyURL              = @"weixin.wuyezhiguhun/module.router/property";
/** Block 路由地址 */
NSString * const YDModuleRouterBlockURL                 = @"weixin.wuyezhiguhun/model.router/block";
/** 数据库 路由地址 */
NSString * const YDModuleRouterDatabaseURL              = @"weixin.wuyezhiguhun/model.router/database";



#pragma mark ==== NAME ====
/** Runtime模块路由名称 */
NSString * const YDModuleRouterRuntimeName              = @"Rountime模块";
/** Thread模块路由名称 */
NSString * const YDModuleRouterThreadName               = @"多线程模块";
/** RunLoop模块路由名称 */
NSString * const YDModuleRouterRunLoopName              = @"RunLoop模块";
/** Category的本质 路由名称 */
NSString * const YDModuleRouterCategoryName             = @"Category的本质";
/** 事件传递与事件响应 路由名称 */
NSString * const YDModuleRouterEventsName               = @"iOS基础-事件传递";
/** Object-C 语言特性 路由名称 */
NSString * const YDModuleRouterOCFeatureName            = @"Objective-C语言特性";
/** 属性解析 路由名称 */
NSString * const YDModuleRouterPropertyName             = @"属性使用";
/** Block使用 */
NSString * const YDModuleRouterBlockName                = @"Block使用";
/** 数据库 模块名称 */
NSString * const YDModuleRouterDatabaseName             = @"数据库模块";


#pragma mark ==== Controller 名称 ====
/** Runtime Controller 名称 */
NSString * const YDRuntimeControllerName                = @"YDRuntimeController";
/** 多线程 Controller 名称 */
NSString * const YDThreadControllerName                 = @"YDThreadController";
/** RunLoop Controller 名称 */
NSString * const YDRunLoopControllerName                = @"YDRunLoopController";
/** Category的本质 Controller 名称 */
NSString * const YDCategoryControllerName               = @"YDCategoryController";
/** 事件传递与事件响应 Controller 名称 */
NSString * const YDEventsControllerName                 = @"YDEventsController";
/** Object-C 语言特性 Controller 名称 */
NSString * const YDOCFeatureControllerName              = @"YDOCFeatureController";
/** 属性解析 Controller 名称 */
NSString * const YDPropertyControllerName               = @"YDPropertyController";
/** Block使用 */
NSString * const YDBlockControllerName                  = @"YDBlockController";
/** 数据库 模块 */
NSString * const YDDatabaseControllerName               = @"YDDatabaseController";

@implementation YDModuleRouterURL

+ (void)load {
    
    //把Runtime加入路由
    [[YDRouter shared] map:YDModuleRouterRuntimeURL toControllerClassName:YDRuntimeControllerName];
    [[YDRouter shared] map:YDModuleRouterThreadURL toControllerClassName:YDThreadControllerName];
    [[YDRouter shared] map:YDModuleRouterRunLoopURL toControllerClassName:YDRunLoopControllerName];
    [[YDRouter shared] map:YDModuleRouterCategoryURL toControllerClassName:YDCategoryControllerName];
    [[YDRouter shared] map:YDModuleRouterEventsURL toControllerClassName:YDEventsControllerName];
    [[YDRouter shared] map:YDModuleRouterOCFeatureURL toControllerClassName:YDOCFeatureControllerName];
    [[YDRouter shared] map:YDModuleRouterPropertyURL toControllerClassName:YDPropertyControllerName];
    [[YDRouter shared] map:YDModuleRouterBlockURL toControllerClassName:YDBlockControllerName];
    [[YDRouter shared] map:YDModuleRouterDatabaseURL toControllerClassName:YDDatabaseControllerName];
}


@end
